﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebStore.Domain.Entities.Model;

namespace WebStore.Infrastructure.Service.Interface
{
    public interface IAccountService
    {
        bool LogOn(string email, string password, out string errorMessage);
        bool Register(string email, string password, out string errorMessage);

        bool Update(string email,string firstName, string secondName, string lastName, string addressLine, string city,
                    string postalCode);
    }
}
